from . import home_blu
from flask import render_template, current_app


# 2.蓝图装饰路由
@home_blu.route('/')
def index():

    return render_template("index.html")


@home_blu.route('/favicon.ico')
def favcon():
    return current_app.send_static_file("news/favicon.ico")